<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">

<TITLE>Switch -DS - do not sort archiving files</TITLE>
<link href="style.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<OBJECT TYPE="application/x-oleobject" CLASSID="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">

	<PARAM NAME="Keyword" VALUE="Switches: -DS - do not sort archiving
files">
</OBJECT>

<P class="title"><A NAME="HELPSwDS"></A>Switch <B>-DS </B> -  do not
sort archiving files<hr></P>

<P>This switch is meaningful only for <A HREF="HELPArcSolid.htm">solid</A>
RAR archives. The compression ratio in solid archives is dependent
upon the file order. By default WinRAR sorts files, to be added to
a solid archive, by extension. You may disable this sorting using the
-ds switch and try to set a more optimal file order. Generally files
with similar data should be placed closely together.</P>

<h1><B>Example</B></h1>

<p class="sample">WinRAR a -s -ds tools *.com *.exe *.doc *.txt *.*</p>

<P>Files will be added in the following order: *.com, *.exe, *.doc,
*.txt, all other file types.</P>

<h1><B>Note</B></h1>

<P>file <A HREF="HELPRARFILESLST.htm"><I>rarfiles.lst</I></A> also
may be used to define the order of files in solid archives</P>

</BODY>
</HTML>
